package cn.edu.scau.cmi.liuyonglin.chapter6;

public class Rect extends Geometry {
	double a , b;
	Rect(double a,double b){
		this.a = a;
		this.b = b;
	}
	double getArea() {
		return a*b;
	}
}
